Explanation : Wage is numerical column ERROR: C:UsersHPAnaconda2libsite-packagessklearnutilsvalidation.py:395: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and will raise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample. DeprecationWarning)
Please tell me how to get rid of this error
You must be logged in to post. Please login or register an account.
Check out this tutorial towards the end where we talk specifically on this error: https://pythonprogramming.net/k-nearest-neighbors-application-machine-learning-tutorial/
-Harrison 8 years ago
You must be logged in to post. Please login or register an account.